﻿using System;
using System.ServiceModel;
using ServicesInterfaces.Models;
using System.Collections.Generic;

namespace Architecture.Services.ServicesInterfaces
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IArchitectureService
    {

        [OperationContract]
        List<DesignPatternDTO> GetAllDesignPatterns();

        [OperationContract]
        DesignPatternDTO GetDesignPatternByName(String Name);

        [OperationContract]
        DesignPatternDTO GetDesignPatternById(Int32 Id);

        [OperationContract]
        DesignPatternDTO AddDesignPattern(String Name);

    }

}
